package com.zjitc.p3.demo1;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * Create by IntelliJ IDEA
 *
 * @authordate-Time: 2018/3/13 16:02
 * @description:
 */
@Configuration
@EnableAspectJAutoProxy
public class AspectConfiguration {

  @Bean
  public AspectDemo aspectDemo() {
    return new AspectDemo();
  }

  @Bean
  public A a() {
    return new A();
  }
}
